<?php

/**
 * This is the model class for table "provider_info".
 *
 * The followings are the available columns in table 'provider_info':
 * @property integer $id 供应商id
 * @property integer $provider_type 供货商类型
 * @property string $realName 真实姓名
 * @property string $nickname 昵称
 * @property integer $gender 性别
 * @property string $post 职务
 * @property string $department 所在部门
 * @property string $tel 常用固定电话
 * @property string $fax 传真
 * @property string $mobile Mobile
 * @property string $address 常用通讯地址
 * @property string $zipcode 邮编
 * @property string $email 电子邮件
 * @property string $website 网址
 * @property string $msn 微软msn
 */
class ProviderInfo extends ActiveRecord
{
	/**
	 * Returns the static model of the specified AR class.
	 * @return ProviderInfo the static model class
	 */
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
	public function getMdcClass() {
		return 'application.models.metadata.ProviderInfoMetadata';
	}
}